import axios from 'axios'
// 获取列表
export const getContentInerviewList = (params) => axios({
  url: '/mock/content/inerview',
  method: 'get',
  params
})
// 查单个
export const getContentInerviewDetail = id => axios({
  url: '/mock/content/inerview',
  method: 'get',
  params: {
    id
  }
})
// 新增
export const addContentInerview = data => axios({
  url: '/mock/content/inerview',
  method: 'POST',
  data
})

// 修改
export const updateContentInerview = data => axios({
  url: `/mock/content/inerview`,
  method: 'PUT',
  data
})

// 删除
export const delContentInerviewList = id => axios({
  url: '/mock/content/inerview',
  method: 'delete',
  params: {
    id
  }
})
